package com.agent.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.agent.repository.RepairePicMapper;
import com.agent.entity.RepairePic;
import com.agent.service.RepairePicService;

@Service("RepairePicService")
public class RepairePicServiceImpl implements RepairePicService{
	
	@Autowired
	private RepairePicMapper RepairePicMapper;

	public void delete(String id) {
		RepairePicMapper.delete(id);		
	}

	public List<RepairePic> getRepairePic(String id) {
		return RepairePicMapper.getRepairePic(id);
	}

	public void insert(RepairePic RepairePic) {
		 RepairePicMapper.insert(RepairePic);
	}

	public List<RepairePic> searchAll() {
		return RepairePicMapper.searchAll();
	}

	public List<RepairePic> searchRepairePic(RepairePic repairePic) {
		return RepairePicMapper.searchRepairePic(repairePic);
	}

	public void update(RepairePic RepairePic) {
		RepairePicMapper.update(RepairePic);
	}

	public RepairePicMapper getRepairePicMapper() {
		return RepairePicMapper;
	}

	public void setRepairePicMapper(RepairePicMapper RepairePicMapper) {
		this.RepairePicMapper = RepairePicMapper;
	}
	
	
	

}
